projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcb84f1
)
GtkEventBox: Correctly handle height for width
author
Alexander Larsson
<alexl@redhat.com>
Mon, 6 May 2013 15:48:46 +0000
(17:48 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Mon, 6 May 2013 15:49:58 +0000
(17:49 +0200)
We need to pass on the width to the child.
https://bugzilla.gnome.org/show_bug.cgi?id=699140
gtk/gtkeventbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkeventbox.c
b/gtk/gtkeventbox.c
index fa49a5d4035daf7ad8ff1ce692f2d8874992eb24..b696d1b1e331a7d070ea461dbef2576c74b3eab7 100644
(file)
--- a/
gtk/gtkeventbox.c
+++ b/
gtk/gtkeventbox.c
@@
-547,7
+547,7
@@
gtk_event_box_get_preferred_height_and_baseline_for_width (GtkWidget *widget,
child = gtk_bin_get_child (bin);
if (child && gtk_widget_get_visible (child))
gtk_widget_get_preferred_height_and_baseline_for_width (child,
-
-1
,
+
width
,
minimum,
natural,
minimum_baseline,